Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI #150

Closed
wants to merge 18 commits into from
Closed

Fix CI #150

wants to merge 18 commits into from

Conversation

nicoddemus
Copy link
Member

@nicoddemus nicoddemus commented Dec 9, 2022

  • Pin typing-extensions in Python 3.6: typing-extensions 4.2.0 is not compatible with Python 3.6.
  • Pin importlib_resources: 5.10 seems to be incompatible with jaraco.text (indirect dependency of cherrypy).

Fix #151
Close #149

@nicoddemus nicoddemus changed the title Pin typing-extensions in Python 3.6 Fix CI Dec 9, 2022
typing-extensions 4.2.0 is not compatible with Python 3.6, and breaks `pytest`.
`5.10` (the latst version) seems to be incompatible with `jaraco.text`, which is an indirect dependency of `cherrypy`.

Fix #151
- pytest-xvfb
{% endif %}

- typing-extensions <4.2.0 # [PYTHON_VERSION=="3.6"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we always default PYTHON_VERSION to "3.6" given we never explicitly set it.

The variables were incorrectly defined, resulting in all builds being
done in Python 3.6.
To test in all platforms we cannot pin to 5.12, as it is not available in later Pythons.
@nicoddemus nicoddemus force-pushed the fix-ci branch 2 times, most recently from 71652a7 to 6370f7a Compare December 9, 2022 14:17
This should not be needed anymore, installing from conda-forge is sufficient.
@nicoddemus nicoddemus force-pushed the fix-ci branch 2 times, most recently from a4431af to 2ee9e50 Compare December 9, 2022 17:06
prusse-martin and others added 5 commits December 9, 2022 16:19
When changing from phantomsj to firefox the messages started to be
prefixed with "ERROR: ".
I could also have changed `SeleniumExtras.get_exception_message`
to drop the prefix, in retrospect that would have been easier because
the expected values will not have to be changed.
@nicoddemus nicoddemus closed this Oct 30, 2023
@nicoddemus nicoddemus deleted the fix-ci branch October 30, 2023 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error collecting tests: AttributeError: 'str' object has no attribute '__spec__'
2 participants